package cn.xiaoxiang.system.mapper;

import cn.xiaoxiang.system.domain.Role;
import cn.xiaoxiang.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaoxiang
 * @since 2022-11-29
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addMiddle(@Param("empId") Long id, @Param("abc") List<Long> roles);

    void deleteEmpOrRole(Long id);
}
